package com.ce.pms.occupation.dao;

import java.util.List;

import com.ce.pms.base.dao.IPmsBaseDao;
import com.ce.pms.occupation.model.InspecteRequisiteDO;

/**
 * 验房登记DAO
 * @author 王浩羽
 *
 */
public interface IInspecteRequisiteDao extends IPmsBaseDao<InspecteRequisiteDO> 
{

	/**
	 * 功能描述: 根据房屋ID查找验房登记 <br>
	 * @param houseId
	 * @return
	 * Create author: 王浩羽 <br>
	 * Create on:Jan 9, 2009  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public List<InspecteRequisiteDO> queryInspecteRequisiteByHouseId(Long houseId);

	/**
	 * 功能描述: 根据认证Id查找验房列表  <br>
	 * @param identityValidateId
	 * @return
	 * Create author: 王浩羽 <br>
	 * Create on:Jan 12, 2009  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public List<InspecteRequisiteDO> queryInspecteRequisiteByIdentityValidateId(Long identityValidateId);
	
	/**
	 * 功能描述:获取最新的验房记录  <br>
	 * @return
	 * Create author: 王浩羽 <br>
	 * Create on:Jan 22, 2009  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public Long getTheLastestInspecteRequisiteId( Long identityValidateId);
}
